import React from "react";
export default function (props) {
    const {
        img,
        text,
        isSelected = false,
    } = props;
    return (
        <div style={{
            display: "flex",
            justifyContent: "center",
            alignItems: "center",
        }}>
            <img style={{
                width: 36,
                marginRight: 20
            }} src={img} alt=""/>
            <p style={{
                fontSize: 20,
                color: isSelected ? '#249dfa' : '#979797',
                width: 100
            }}>{text}</p>
            <div style={{
                backgroundColor: isSelected ? '#249dfa' : 'transparent',
                width: 10,
                height: 10,
                borderRadius: '50%'
            }}></div>
        </div>
    )
}